﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B303Langf.Parser.AST
{
   public class ExpressionStatement : Statement
   {
      public ExpressionStatement( Expression expression )
      {
         Expression = expression;
      }

      public Expression Expression
      {  
         get;
         private set;
      }

      public override object Visit( IVisitor v, object obj )
      {
         return v.VisitExpressionStatement( this, obj );
      }
   }
}
